package com.company.biz.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.user.entity.ClientEntity;
import com.company.user.req.AddClientReq;
import com.company.user.req.ClientListPageReq;
import com.company.user.resp.ClientInfoResp;
import com.company.user.entity.UserEntity;

import java.util.List;

public interface ClientService extends IService<ClientEntity> {

    Page<ClientInfoResp> getClientListPage(ClientListPageReq req);

    boolean addClient(AddClientReq req, UserEntity userEntity);

    ClientInfoResp getClientByClientId(String clientId);

    boolean updateClientByClientId(ClientInfoResp resp);

    boolean deleteClientByClientId(List<String> clientIds);


}
